<!--
 * @Author: admin@attacker.club
 * @Date: 2022-10-10 23:47:26
 * @LastEditTime: 2022-10-21 13:39:56
 * @Description: 
-->
<template>
  <!-- 路由占位符 -->
  <router-view></router-view>
</template>

<script setup>
import { useAttrs, useSlots, onMounted } from "vue";
const slots = useSlots();
const attrs = useAttrs();
console.log("attrs:", attrs);
console.log("slots:", slots);

onMounted(() => {
  console.log(
    "%c NODE_ENV:",
    "background:#41b883;color:#fff;border-radius: 3px",
    process.env.NODE_ENV
  );
  console.log(
    "%c VUE_APP_BASE_API:",
    "background:#f4516c;color:#fff;border-radius: 3px",
    process.env.VUE_APP_BASE_API
  );
  const VUE_WEB_DOMIAN_NAME = location.href;
  console.log("WEB_DOMIAN_NAME:", VUE_WEB_DOMIAN_NAME);
});


</script>

<style>
html,
body {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}
#nprogress .bar {
  /* 自定义进度条颜色 */
  background: #2186c0 !important;
}
</style>
